﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="Left.aspx.cs" Inherits="School_Manage_InputScore_Left" %>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head runat="server">
    <title></title>
    <link href="../../../Common/css/main.css" rel="stylesheet" type="text/css" />
</head>
<script type="text/javascript" language="javascript">
    var currentselect=-1;
    var currentS;
    function Nav(id)
    {
        if(currentselect != id)
        {
            if(currentS!=null)
            {
                currentS.style.backgroundColor = "#ffffff";
            }
            currentS = document.getElementById(id);
            currentS.style.backgroundColor = "#fffccf";
            parent.frames["mainFrame"].location.href="inputscore.aspx?examid="+<%= examid %>+"&eexam="+<%= eexam %>+"&classtype="+<%= this.classType %>+"&classid="+id+"&grade="+<%= this.Grade %>;
        }
    }
</script>
<body>
    <form id="form1" runat="server">
<div class="leftWarp">
	    <div class="menuBody">
	        <div class="menuList" >
	            <h2>班 级 列 表</h2>
	            <dl>
<%--	                <dt></dt>--%>
                    <dd id="SubMenu1">
                    <ul>
                    <% if (clsinfo != null)
                       {
                           foreach (Meqs.Entity.ClsInfo ci in clsinfo)
                           {%>
                                <li id="<%= ci.RID %>" onclick="Nav('<%= ci.RID %>')"><a onclick="" title="" ><span ><img style="padding-top:5px"  src="../../../Common/images/thisone.png" />&nbsp;&nbsp;<%=ci.ClsName %></span></a></li>
                        <% }
                           if (clsinfo.Count > 0)
                           {
                               Response.Write("<script type='text/javascript' language='javascript'> Nav(" + clsinfo[0].RID + ") </script>");
                           }
                       } %>
                     </ul>
                </dd>
             </dl>
	    </div>
    	
    </div>  
</div>
    </form>
</body>
</html>
